package com.bwda.dsrs.filecenter.service;

import com.bwda.dsrs.filecenter.condition.DbScanTableHandleParams;

/**
 * Async service
 *
 * @author yangjun
 * @date 2019 /8/8
 */
@SuppressWarnings("AlibabaAbstractMethodOrInterfaceMethodMustUseJavadoc")
public interface AsyncService {
    /**
     * 执行异步任务
     */
    void executeAsync();

    /**
     * Async scan *
     *
     * @param dbId          db id
     * @param taskId        task id
     * @param taskHistoryId task history id
     * @param rowNum        row num
     */
    void asyncScan(Integer dbId, Integer taskId, Integer taskHistoryId, Integer rowNum);

}
